package cn.dao;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import cn.bean.PageInfo;


public interface DaoUtil{

	Object queryList(String sql, List list);
	
	PageInfo findPageInfoByJDBCSQLAndParams( String sql,
             List params,  int currentPage,  int perPageNum,
             boolean isGroupby);
	
	String qrySeq(String seq);
	
	void save(Object pro); 
	
	List qryByJDBCSql(String sql);

	void saveBatch(List list);

	List qryByPhone(String sql, Long phone);

	void updateJDBCSql(String string, List param);

	void delBatch(List list);

	Object getObj(Long createPer, Class cl);

	void excuteUpdateHql(String hql, List param);

	void updateByHql(String sql, List param);

	void delByHql(String sql, List param);

	void updateObj(Object info);

	List qryByJDBCSql(String sql, List param);

	void delObj(Object obj);

	void saveOrUpdate(Object detail);

	List qryByMYJDBCSql(String sql, List param, HttpServletRequest request);

	List qryByHql(String sql, List<Object> param);

	int updateSql(String SQL, List param);
}
